﻿using System;

using TrainSimulator.Interfaces;

namespace TrainSimulator.State
{
    public abstract class State : IState
    {
        protected string _description;

        public State()
        {
            _description = "No description";
        }
        
        public abstract IState Handle(ITrain train);

        public override string ToString()
        {
            return _description;
        }
    }
}
